<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <include file="Public:resource"/>
    <title>{$columnModel.column}|{$publishModel.title}</title>
</head>
<body>
<div class="container">
    <eq name="needBack" value="1">
        <include file="Public:top" title="{$columnModel.column}"/>
        <else/>
        <include file="Public:topWithoutBack" title="{$columnModel.column}"/>
    </eq>


    <style>
        .title{
            font-size: large;
            font-weight: bold;
        }
        .time{
            color:darkgray;
            font-size: smaller;
        }
        .content{
            color:gray;
            font-size: medium;
        }
    </style>

    <div class="row" style="margin-top: 20px;">
        <div class="col-xs-12 col-md-12 col-sm-12 col-lg-12 title" align="center">
            {$publishModel.title}
        </div>
    </div>
    <div class="row">
        <div class="col-xs-12 col-md-12 col-sm-12 col-lg-12 time" align="center">
            {$publishModel.publishertime}
        </div>
    </div>
    <notempty name="publishModel.homepage">
        <div class="row" style="margin-bottom: 10px;">
            <div class="col-xs-12 col-md-12 col-lg-12 col-sm-12">
                <div id="myCarousel" class="carousel slide">
                    <!-- 轮播（Carousel）项目 -->
                    <div class="carousel-inner">
                        <div class="item active">
                            <img src="{$publishModel.homepage}" alt="新闻图片" class="carousel-img">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </notempty>

    <div class="row" style="margin-top: 10px;margin-bottom: 20px;padding: 0px 3px 0px 3px;font-size: medium;">
        <div class="col-xs-12 col-md-12 col-sm-12 col-lg-12 content">
            {$publishModel.content}
        </div>
    </div>

    <include file="Public:menu"/>
</div>
</body>
</html>